import "./App.css";
/* 引入路由模块 */
import { HashRouter as Router, Route, Switch } from "react-router-dom";
/* 导入组件 */
import Gooddetails from "./components/Gooddetails/Gooddetails"
import Navbar from "./components/Navbar/Navbar";
import Getlist from "./components/GetList/GetList"
function App() {
  return (
    <Router>
      <div className="App">
        {/* <h1>众安保险</h1> */}
        <Switch>
          {/* 产品详情页：负责人：邓黄兴 */}
          <Route path="/gooddetails" exact component={Gooddetails}></Route>
          {/* 我的页面+登录注册：负责人：李华丽 */}
          {/* <Route path="/my" exact component={My}></Route> */}
          {/* 文章页面：负责人：魏学辉*/}
          {/* <Route path="/article" exact component={Article}></Route> */}
          {/* 产品列表：负责人：顾天峰 */}
          <Route path="/goodlist" exact component={Getlist}></Route>
          {/* 首页：负责人：曹津铭 */}
          <Route path="/" component={Navbar}></Route>
          
        </Switch>
      </div>
    </Router>
  );
}

export default App;
